﻿using System;
using System.Data;
using System.Collections.Generic;

using Com.Framework.Data;
using Com.Library.DB;

namespace Com.Library.DB.MP3Player
{
	internal class MP3PlayerGetInfo : DBDataReader<DataEntity, MP3PlayerEntity>
	{
		public MP3PlayerGetInfo()
			: base(new ConnectionString(), "TSP_MP3Player_GetInfo")
		{
		}

		protected override void ParameterInitialize()
		{
			AddParameter("n4IndexNo", SqlDbType.Int, 4, SqlDataInOut.Input);
			AddParameter("strMP3URL", SqlDbType.VarChar, 200, SqlDataInOut.Output);
			AddParameter("dtCreateDate", SqlDbType.DateTime, 8, SqlDataInOut.Output);
			AddParameter("strTitle", SqlDbType.NVarChar, 50, SqlDataInOut.Output);
		}
	}
}